Mollie\WooCommerce\Payment\MollieOrder B

Total Complexity 86
Dependencies 16
Dependents 2
Total lines 603
Lines of code 378
Logical lines of code 244
Comment lines 184
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
refund()
A
42 11 46
processOrderItemsRefund()
A
43 11 42
refund_amount()
A
47 8 31
refund_order_items()
A
49 8 28
onWebhookCanceled()
S
49 7 29
onWebhookCompleted()
S
49 5 29
onWebhookPaid()
S
51 4 25
onWebhookExpired()
S
51 4 25
maybeUpdateStatus()
S
59 4 13
onWebhookAuthorized()
S
55 3 19
getMollieCustomerIbanDetailsFromPaymentObject()
S
58 3 14
getPaymentObject()
S
60 3 11
getMollieCustomerIdFromPaymentObject()
S
66 3 9
getSequenceTypeFromPaymentObject()
S
66 3 9
getMolliePaymentIdFromPaymentObject()
S
70 2 6
updatePaymentDataWithOrderData()
S
67 2 8
__construct()
S
64 1 10
onWebhookFailed()
S
62 1 10
setActiveMolliePayment()
S
67 1 8
getPaymentRequestData()
S
79 1 3
setOrder()
S
81 1 3